ci - poc to use ddci on-demand for end-to-end test in feature branch - #54946
ci - poc to use ddci on-demand for end-to-end test in feature branch#54946NielkSalocin wants to merge 1 commit into
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 40acef6b29
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| @@ -0,0 +1,8 @@ | |||
| trigger: | |||
| stage: .pre | |||
| include: .gitlab-ci.yml | |||
There was a problem hiding this comment.
Nest the downstream trigger configuration
GitLab treats the top-level trigger as the job name, so include is currently parsed as an unsupported job keyword and every on-demand invocation fails CI configuration validation before any E2E test starts. Nest include under a second trigger: key, following the working child-pipeline shape in .gitlab/deploy/trigger_distribution.yml:8-12.
Useful? React with 👍 / 👎.
| @@ -0,0 +1,8 @@ | |||
| trigger: | |||
| stage: .pre | |||
| include: .gitlab-ci.yml | |||
There was a problem hiding this comment.
Propagate downstream E2E failures
After nesting this as a valid downstream trigger, omitting strategy: depend or strategy: mirror makes the on-demand job succeed as soon as the child pipeline is created, so DDCI can report a green result while the requested E2E suite later fails. Add a waiting strategy to the nested trigger; the repository documents this exact default behavior in .gitlab/test/functional_test/regression_detector.yml:216-220 and uses strategy: depend where the parent must reflect the child result.
Useful? React with 👍 / 👎.
Files inventory check summaryFile checks results against ancestor fec92d8c: Results for datadog-agent_7.84.0~devel.git.219.60c6d093.pipeline.131311266-1_amd64.deb:No change detected Results for datadog-iot-agent_7.84.0~devel.git.219.60c6d093.pipeline.131311266-1_amd64.deb:No change detected |
|
/gitlab trigger-ci -v DYNAMIC_BUILD_RENDER_RULES=end-to-end |
|
View all feedbacks in Devflow UI.
Started pipeline #131276560 |
40acef6 to
c97cde2
Compare
|
/gitlab trigger-ci -v DYNAMIC_BUILD_RENDER_RULES=end-to-end |
|
View all feedbacks in Devflow UI.
Branch If you need support, contact us on Slack #ci-infra-support!
POST https://gitlab.ddbuild.io/api/v4/projects/DataDog/datadog-agent/pipeline: 400 {message: {base: [dynamic-build-run job: chosen stage build does not exist; available stages are .pre, setup, maintenance_jobs, deps_build, deps_fetch, lint, source_test, source_test_stats, software_composition_analysis, binary_build, package_deps_build, kernel_matrix_testing_prepare, kernel_matrix_testing_system_probe, kernel_matrix_testing_security_agent, kernel_matrix_testing_cleanup, integration_test, benchmarks, package_build, packaging, pkg_metrics, container_build, container_scan, scan, check_deploy, dev_container_deploy, deploy_packages, choco_build, install_script_deploy, internal_image_deploy, e2e_deploy, install_script_testing, e2e_pre_test, e2e_init, e2e, e2e_k8s, e2e_install_packages, functional_test, trigger_distribution, dynamic_test, junit_upload, internal_kubernetes_deploy, check_merge, .post]}} DetailsIf you need support, contact us on Slack #ci-infra-support with those details! |
c97cde2 to
60c6d09
Compare
|
/gitlab trigger-ci -v DYNAMIC_BUILD_RENDER_RULES=end-to-end |
|
View all feedbacks in Devflow UI.
Branch
Started pipeline #131311233 |
|
View all feedbacks in Devflow UI.
|
|
🎯 Code Coverage (details) 🔗 Commit SHA: 60c6d09 | Docs | Datadog PR Page | Give us feedback! |
What does this PR do?
Motivation
Describe how you validated your changes
Additional Notes